package com.hall.service;

import com.hall.pojo.CommentData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentService {
    void saveComment(CommentData commentData);
    void deleteComment(CommentData commentData);
    CommentData findCommentById(@Param(value = "id") String id);//获取单条数据
    List<CommentData> findCommentList(CommentData commentData);//查询所有数据
}
